DateSwitch

This applet will load a page which can be different if the date is different. For instance you can set a page for each months, or a page for each semester...

 

Name

Description

Default

Status

range1, range2, ..., rangeN the N range of date. The format must be: "min date#max date". For instance, if you put "1#31" as "range1" and if the date is January the 20 then the visitor will be redirected to the "link1" - required
link1, link2, ..., linkN the N links matching to the N ranges - required
mode 0: the visitor is redirected on page load
1: the applet shows a button; the visitor will be redirected on button click
0 required
no_range_link the visitor will be redirected to this link if there is no range matching or if the applet is unable to determine the date from the visitor computer - optional
button_show_text the button label (if "mode" = 1) "Enter !!" required
background_color the applet background color usual applet grey required
target the target of the redirection :
- "_blank" : show in a new unnamed top-level window
          - "_self" : show in the current frame
           - "_parent" : show in the parent frame
           - "_top" : show in the top-most frame
or a custom frame name
_blank required
registration_code the registration code - required

 

Special notes

* You can put relative URL (to target a file on your site) or absolute (with "http://...")
URL. example:
    relative URL: ../home/home.html
    absolute URL: http://www.yahoo.com

* The color format is hexadecimal format like this : blue is "#0000ff"", red is "#ff0000" ... If you want that the background color is the same as the one of the page, look at the html source file and find the balise : <body bgcolor="#00FFFF"> then copy the value, here it's "#00ffff". Use the "HexColor" applet to convert RGB color to hexadecimal color.

 

Copyright 1999-2000 Taiji Software
All Rights Reserved
http://www.taijisoftware.com
support@taijisoftware.com